<script>
const array = [1, 2, 3, [4]];

export const [a, b, c, [d]] = array;
</script>